package com.fy.market.strategy.model.entity;

import com.fy.market.strategy.model.enums.RuleModelEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author fwq
 * @desc 规则物料实体对象，用于过滤规则的必要参数信息
 * @date 2025-09-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RuleMatterEntity {

    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 策略ID
     */
    private Integer strategyId;
    /**
     * 抽奖奖品ID,也就是如果被规则过滤拦截了,需要返回的默认奖品ID【规则类型为策略，则不需要奖品ID】
     */
    private Integer awardId;
    /**
     * 兜底奖品ID
     */
    private Integer guaranteedAwardId;
    /**
     * 过滤规则类型
     */
    private RuleModelEnum ruleModel;
}
